package com.qingke.memo.dao;

import java.util.List;

import com.qingke.memo.pojo.Memo;
import com.qingke.memo.pojo.MemoCustomTag;

public interface MemoCustomTagMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MemoCustomTag record);

    int insertSelective(MemoCustomTag record);

    MemoCustomTag selectByPrimaryKey(Integer id);
    
    MemoCustomTag selectMemoCustomTagByMemoAndCustomTag(MemoCustomTag memoCustomTag);
    
    List<MemoCustomTag> selectMemoCustomTagByMemo(MemoCustomTag memoCustomTag);
    
    List<MemoCustomTag> selectMemoCustomTagByCustomTag(MemoCustomTag memoCustomTag);
    
    List<MemoCustomTag> selectMemoCustomTagsByMemo(Memo memo);
    
    List<MemoCustomTag> selectAllMemoCustomTags();

    int updateByPrimaryKeySelective(MemoCustomTag record);

    int updateByPrimaryKey(MemoCustomTag record);
}